#!/bin/sh
echo "Binding my current IP to mac.chencharlie.com"
# Send http request to oray server, bind current ip to chancharlie.vicp.cc, which is where my domain forward to.
# Username and password hidden as I am commiting this code to SVN.
wget http://chancharlie:syaoran200@ddns.oray.com/ph/update?hostname=chancharlie.vicp.cc
echo "Binding Complete"
# Remove http return
rm -r -f update?hostname=chancharlie.vicp.cc
